{% extends "admin/admin_base.html" %}
{% load i18n %}
{% block navItem %}adminNavBase.adminShopNav{% endblock %}
{% block title %}
{% trans "Shop" %}
{% endblock %}

{% block content %}
<H3>{%  trans "Shop" %}</h3>
<a href="/admin/shop/product">{% trans "Add product" %}</a>
<ul style="">
    {% for product in products %}
    <li>
        <div>
            <a href="/admin/shop/delete_product/{{ product.key.id }}"><img src="/media/images/delete.png" alt="" ></a>&nbsp;
            <a href="/admin/shop/product/{{ product.key.id }}">
            {{ product.subject }}
            </a>
        </div>
    </li>
    {% endfor %}
</ul>

{% endblock %}